﻿namespace CobraCms.Core.Content
{
    public class ContentNodeSearchCriteira
    {
        //Gets root nodes (parent node of null)
        public bool IsRootNode { get; set; }

        /// <summary>
        /// Filters the result to children of the specified parent node
        /// </summary>
        public string ParentNodeId { get; set; }

        /// <summary>
        /// Filters the result to descendents of the specified node
        /// </summary>
        public string AncestorNodeId { get; set; }
       
    }
}
